package com.hejie.videoservice.dto;

import com.hejie.videoservice.entity.Video;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;

@Data
public class VideoDTO {
    private Long id;
    private Long userId;
    private String title;
    private String description;
    private String videoUrl;
    private String thumbnailUrl;
    private Integer duration;
    private Long categoryId;
    private String categoryName;
    private Set<String> tags;
    private Long viewCount;
    private Long likeCount;
    private Long commentCount;
    private Long favoriteCount;
    private Video.VideoStatus status;
    private Video.Visibility visibility;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String uploadUrl; // 仅用于上传场景